home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gawk / gawk213b.zoo / test / chem / good < prev    next >
Text File  |  1991-05-10  |  7KB  |  272 lines

  1. .PS
  2. copy "./chem.macros"
  3.     textht = 0.16; textwid = .1; cwid = 0.12
  4.     lineht = 0.2; linewid = 0.2
  5. Last: 0,0
  6.  
  7.  
  8. # R:    ring pointing right double 1,2 3,4 5,6
  9. R:
  10. Last: [
  11.     C: 0,0
  12.     V0: (0.15,0.259808)
  13.     V1: (0.3,4.00474e-09)
  14.     V2: (0.15,-0.259808)
  15.     V3: (-0.15,-0.259808)
  16.     V4: (-0.3,-1.20142e-08)
  17.     V5: (-0.15,0.259808)
  18.     V6: (0.15,0.259808)
  19.     V7: (0.3,2.00237e-08)
  20.     line from V1 to V2
  21.     line from 0.85<C,V1> to 0.85<C,V2>
  22.     line from V2 to V3
  23.     line from V3 to V4
  24.     line from 0.85<C,V3> to 0.85<C,V4>
  25.     line from V4 to V5
  26.     line from V5 to V6
  27.     line from 0.85<C,V5> to 0.85<C,V6>
  28.     line from V6 to V1
  29. ] with .V4.w at Last.e 
  30.  
  31. #     bond left from R ; OH
  32. Last: bond(0.2, 270, from R.V4.w)
  33. Last: OH: atom("OH", 0.24, 0.16, 0.06, 0.16, 0.12, 0.015)  with .R.e at Last.end
  34.  
  35. #     bond -150 from R ; OCH3
  36. Last: bond(0.2, 210, from R.V3.sw)
  37. Last: OCH3: atom("OCH\s-3\d3\u\s+3", 0.42, 0.16, 0.18, 0.16, 0.12, 0.015)  with .R.ne at Last.end
  38.  
  39. #     bond right from R ; C
  40. Last: bond(0.2, 90, from R.V1.e)
  41. Last: C: atom("C", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.w at Last.end
  42.  
  43. #     double bond up ; O
  44. Last: doublebond(0.2, 0, from Last.C.n )
  45. Last: O: atom("O", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .C.s at Last.end
  46.  
  47. #     bond right from C ; N
  48. Last: bond(0.2, 90, from C.R.e)
  49. Last: N: atom("N", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.w at Last.end
  50.  
  51. #     bond 45 ; C2H5
  52. Last: bond(0.2, 45, from Last.R.ne )
  53. Last: C2H5: atom("C\s-3\d2\u\s+3H\s-3\d5\u\s+3", 0.36, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.sw at Last.end
  54.  
  55. #      bond 135 from N ; C2H5
  56. Last: bond(0.2, 135, from N.R.se)
  57. Last: C2H5: atom("C\s-3\d2\u\s+3H\s-3\d5\u\s+3", 0.36, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.nw at Last.end
  58. .PE
  59. .PS
  60. Last: 0,0
  61.  
  62. # B:    benzene pointing right
  63. B:
  64. Last: [
  65.     C: 0,0
  66.     V0: (0.15,0.259808)
  67.     V1: (0.3,4.00474e-09)
  68.     V2: (0.15,-0.259808)
  69.     V3: (-0.15,-0.259808)
  70.     V4: (-0.3,-1.20142e-08)
  71.     V5: (-0.15,0.259808)
  72.     V6: (0.15,0.259808)
  73.     V7: (0.3,2.00237e-08)
  74.     line from V1 to V2
  75.     line from V2 to V3
  76.     line from V3 to V4
  77.     line from V4 to V5
  78.     line from V5 to V6
  79.     line from V6 to V1
  80.     circle rad 0.15 at 0,0
  81. ] with .V4.w at Last.e 
  82.  
  83. # F:    flatring5 pointing left put N at 5 double 3,4 with .V1 at B.V2
  84. F:
  85. Last: [
  86.     C: 0,0
  87.     V0: (-0.15,-0.259808)
  88.     V1: (-0.3,-1.20142e-08)
  89.     V2: (-0.15,0.259808)
  90.     V3: (0.15,0.259808)
  91.     V4: (0.3,2.00237e-08)
  92.     V5: (0.15,-0.259808)
  93.     V6: (-0.15,-0.259808)
  94.     V7: (-0.3,-2.80332e-08)
  95.     V4: V5; V5: V6
  96.     line from V1 to V2 chop 0 chop 0
  97.     line from V2 to V3 chop 0 chop 0
  98.     line from V3 to V4 chop 0 chop 0
  99.     line from 0.75<C,V3> to 0.75<C,V4> chop 0 chop 0
  100.     line from V4 to V5 chop 0 chop 0.08
  101.     V5: ellipse invis ht 0.16 wid 0.12 at V5
  102.     N:atom("N", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015) at V5
  103.     line from V5 to V1 chop 0.08 chop 0
  104. ]   with .V1 at B.V2
  105.  
  106. #     H below F.N
  107. Last: H: atom("H", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015) with .n at F.N.s
  108.  
  109. # R:    ring pointing right with .V4 at B.V6
  110. R:
  111. Last: [
  112.     C: 0,0
  113.     V0: (0.15,0.259808)
  114.     V1: (0.3,4.00474e-09)
  115.     V2: (0.15,-0.259808)
  116.     V3: (-0.15,-0.259808)
  117.     V4: (-0.3,-1.20142e-08)
  118.     V5: (-0.15,0.259808)
  119.     V6: (0.15,0.259808)
  120.     V7: (0.3,2.00237e-08)
  121.     line from V1 to V2
  122.     line from V2 to V3
  123.     line from V3 to V4
  124.     line from V4 to V5
  125.     line from V5 to V6
  126.     line from V6 to V1
  127. ]   with .V4 at B.V6
  128.  
  129. #     front bond right from R.V6 ; H
  130. Last: frontbond(0.2, 90, from R.V6.e)
  131. Last: H: atom("H", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.w at Last.end
  132.  
  133. # R:    ring pointing right with .V2 at R.V6 put N at 1 double 3,4
  134. R:
  135. Last: [
  136.     C: 0,0
  137.     V0: (0.15,0.259808)
  138.     V1: (0.3,4.00474e-09)
  139.     V2: (0.15,-0.259808)
  140.     V3: (-0.15,-0.259808)
  141.     V4: (-0.3,-1.20142e-08)
  142.     V5: (-0.15,0.259808)
  143.     V6: (0.15,0.259808)
  144.     V7: (0.3,2.00237e-08)
  145.     V1: ellipse invis ht 0.16 wid 0.12 at V1
  146.     N:atom("N", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015) at V1
  147.     line from V1 to V2 chop 0.08 chop 0
  148.     line from V2 to V3 chop 0 chop 0
  149.     line from V3 to V4 chop 0 chop 0
  150.     line from 0.85<C,V3> to 0.85<C,V4> chop 0 chop 0
  151.     line from V4 to V5 chop 0 chop 0
  152.     line from V5 to V6 chop 0 chop 0
  153.     line from V6 to V1 chop 0 chop 0.08
  154. ]   with .V2 at R.V6
  155.  
  156. #     bond right from R.N ; CH3
  157. Last: bond(0.2, 90, from R.N.e)
  158. Last: CH3: atom("CH\s-3\d3\u\s+3", 0.3, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.w at Last.end
  159.  
  160. #     back bond -60 from R.V5 ; H
  161. Last: backbond(0.2, 300, from R.V5.nw)
  162. Last: H: atom("H", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .R.se at Last.end
  163.  
  164. #     bond up from R.V5 ; CO
  165. Last: bond(0.2, 0, from R.V5.n)
  166. Last: CO: atom("CO", 0.24, 0.16, 0.06, 0.16, 0.12, 0.015)  with .C.s at Last.end
  167.  
  168. #     bond right ; N(C2H5)2
  169. Last: bond(0.2, 90, from Last.R.e )
  170. Last: NC2H52: atom("N(C\s-3\d2\u\s+3H\s-3\d5\u\s+3)\s-3\d2\u\s+3", 0.66, 0.16, 0.24, 0.16, 0.12, 0.015)  with .L.w at Last.end
  171. .PE
  172. .PS
  173. Last: 0,0
  174.  
  175. # R1:    ring6 double 1,2
  176. R1:
  177. Last: [
  178.     C: 0,0
  179.     V0: (-0.259808,0.15)
  180.     V1: (0,0.3)
  181.     V2: (0.259808,0.15)
  182.     V3: (0.259808,-0.15)
  183.     V4: (8.00947e-09,-0.3)
  184.     V5: (-0.259808,-0.15)
  185.     V6: (-0.259808,0.15)
  186.     V7: (-1.60189e-08,0.3)
  187.     line from V1 to V2
  188.     line from 0.85<C,V1> to 0.85<C,V2>
  189.     line from V2 to V3
  190.     line from V3 to V4
  191.     line from V4 to V5
  192.     line from V5 to V6
  193.     line from V6 to V1
  194. ] with .V5.w at Last.e 
  195.  
  196. #     bond -60 from R1.V6 ; HO
  197. Last: bond(0.2, 300, from R1.V6.nw)
  198. Last: HO: atom("HO", 0.24, 0.16, 0.06, 0.16, 0.12, 0.015)  with .R.se at Last.end
  199.  
  200. # R2:    ring6 with .V1 at R1.V3
  201. R2:
  202. Last: [
  203.     C: 0,0
  204.     V0: (-0.259808,0.15)
  205.     V1: (0,0.3)
  206.     V2: (0.259808,0.15)
  207.     V3: (0.259808,-0.15)
  208.     V4: (8.00947e-09,-0.3)
  209.     V5: (-0.259808,-0.15)
  210.     V6: (-0.259808,0.15)
  211.     V7: (-1.60189e-08,0.3)
  212.     line from V1 to V2
  213.     line from V2 to V3
  214.     line from V3 to V4
  215.     line from V4 to V5
  216.     line from V5 to V6
  217.     line from V6 to V1
  218. ]   with .V1 at R1.V3
  219.  
  220. #     bond 60 from R2.V2 ; N
  221. Last: bond(0.2, 60, from R2.V2.ne)
  222. Last: N: atom("N", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.sw at Last.end
  223.  
  224. #     bond right from N ; CH3
  225. Last: bond(0.2, 90, from N.R.e)
  226. Last: CH3: atom("CH\s-3\d3\u\s+3", 0.3, 0.16, 0.06, 0.16, 0.12, 0.015)  with .L.w at Last.end
  227.  
  228. # R3:    benzene with .V1 at R2.V5
  229. R3:
  230. Last: [
  231.     C: 0,0
  232.     V0: (-0.259808,0.15)
  233.     V1: (0,0.3)
  234.     V2: (0.259808,0.15)
  235.     V3: (0.259808,-0.15)
  236.     V4: (8.00947e-09,-0.3)
  237.     V5: (-0.259808,-0.15)
  238.     V6: (-0.259808,0.15)
  239.     V7: (-1.60189e-08,0.3)
  240.     line from V1 to V2
  241.     line from V2 to V3
  242.     line from V3 to V4
  243.     line from V4 to V5
  244.     line from V5 to V6
  245.     line from V6 to V1
  246.     circle rad 0.15 at 0,0
  247. ]   with .V1 at R2.V5
  248.  
  249. #     bond -120 from R3.V5 ; HO
  250. Last: bond(0.2, 240, from R3.V5.sw)
  251. Last: HO: atom("HO", 0.24, 0.16, 0.06, 0.16, 0.12, 0.015)  with .R.ne at Last.end
  252.  
  253. #     bond -135 length .3 from R1.V5 ; O
  254. Last: bond(0.3, 225, from R1.V5.sw)
  255. Last: O: atom("O", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015)  with .R.ne at Last.end
  256.  
  257. #     bond -45 length .3 from R3.V6
  258. Last: bond(0.3, 315, from R3.V6.nw)
  259.  
  260. #     bond up length .1 from N ; BP
  261. Last: bond(0.1, 0, from N.C.n)
  262. Last: BP: "" ht 0 wid 0  with .s at Last.end
  263.  
  264. # B1:    bond up length .35 from R1.V4
  265. B1:
  266. Last: bond(0.35, 0, from R1.V4.n)
  267.  
  268. #     bond to BP
  269. Last: bond(0, 0, to BP )
  270. .PE
  271.